package cn.shengongying.admin.dto;

import cn.shengongying.bean.DataTablePageResult;
import cn.shengongying.dubbo.modal.HotCity;
import lombok.Getter;
import lombok.Setter;

/**
 * author: RXK
 * date: 2022/2/23 星期三
 * desc:
 */
@Getter
@Setter
public class HotCityInDTO extends DataTablePageResult {

    private Long id;

    private String cityName;

    private Integer weight;

    /**
     * 0:上架;1:下架
     */
    private Integer cityStatus;


    public HotCity hotCity() {
        HotCity city = new HotCity();
        city.setId(this.id);
        city.setCityName(this.cityName);
        city.setCityStatus(this.cityStatus);
        city.setWeight(this.weight);
        return city;
    }
}
